{
  "openapi": "3.0.0",
  "info": {
    "title": "Simple Greeting Service",
    "version": "1.0.0",
    "description": "API for performing greetings"
  },
  "servers": [
    {
      "url": "http://localhost:8080"
    }
  ],
  "paths": {
    "/greet/{name}": {
      "post": {
        "operationId": "greet",
        "summary": "Greet a person with a message (Mixed params and body)",
        "parameters": [
          {
            "in": "path",
            "name": "name",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Name of the person to greet"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "message": {
                    "type": "string",
                    "description": "Custom message to send"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Greeting delivered",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "greeting": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
